Software trustworthiness is an important research field in software engineering.\nIn order to appropriately evaluate it, some different measurement approaches have been proposed,\nwhich have important guiding significance for improving software trustworthiness. Recently, we have\ninvestigated attributes-based approaches. That is, how to maximize trustworthy degree of some\nsoftware satisfying a given threshold by adjusting every attribute value such that the cost is minimal,\ni.e., the sum of all attribute values is as small as possible. The work is helpful to improve the software\nquality under the same cost. This paper continues this work and considers a reallocation approach to\ndealing with the problem that the threshold and the minimal constraints of every attribute values\ndynamically increase. In this process, the costs of trustworthiness improvement should be ensured to\nbe minimal. For this purpose, we firstly define a reallocation model by mathematical programming.\nThen we introduce the notion of growth function. Based on this, a polynomial reallocation algorithm\nis designed to solve the above reallocation model. Finally, we verify our work on spacecraft softwares\nand the results show that this work is valid.
Loading....